package com.rockcent.mall.lib.dto;

import com.rockcent.common.domain.DtoEntity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by hone on 16-11-18.
 */
public class MallWechatMenuListDTO extends DtoEntity implements Serializable {

    private String name;
    private String menuType;
    private String pageUrl;
    private Long parentId;
    private String materialType;//素材类型
    private String mediaId;//素材ID
    private String materialName;//素材名称
    private String materialUrl;//素材链接

    private List<MallWechatMenuListDTO> children = new ArrayList<>();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<MallWechatMenuListDTO> getChildren() {
        return children;
    }

    public void setChildren(List<MallWechatMenuListDTO> children) {
        this.children = children;
    }

    public String getMenuType() {
        return menuType;
    }

    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    public String getPageUrl() {
        return pageUrl;
    }

    public void setPageUrl(String pageUrl) {
        this.pageUrl = pageUrl;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getMaterialType() {
        return materialType;
    }

    public void setMaterialType(String materialType) {
        this.materialType = materialType;
    }

    public String getMediaId() {
        return mediaId;
    }

    public void setMediaId(String mediaId) {
        this.mediaId = mediaId;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getMaterialUrl() {
        return materialUrl;
    }

    public void setMaterialUrl(String materialUrl) {
        this.materialUrl = materialUrl;
    }

    @Override
    public String toString() {
        return "MallWechatMenuListDTO{" +
                "name='" + name + '\'' +
                ", menuType='" + menuType + '\'' +
                ", pageUrl='" + pageUrl + '\'' +
                ", parentId=" + parentId +
                ", children=" + children +
                '}';
    }
}
